//
//  RCMerchantDetailDataModel.h
//  RocketProject
//
//  Created by chen jiedan on 13-6-26.
//  Copyright (c) 2013年 Rocket. All rights reserved.
//

#import "IDataModel.h"


typedef enum {
    kMerchantDetailType_Phone = 1,
    kMerchantDetailType_Address=2,
    kMerchantDetailType_Order = 3,
    kMerchantDetailType_OrderServer = 4,
    kMerchantDetailType_Preferential = 5, //最新优惠
    kMerchantDetailType_Recommended = 6, //网友推荐
    kMerchantDetailType_Review = 7,    //点评
    kMerchantDetailType_Signin = 8,    //签到留言
    kMerchantDetailType_Traffic = 9,
    kMerchantDetailType_Othershop = 10,
    kMerchantDetailType_Discount = 11,  //优惠详情
    kMerchantDetailType_Food = 12,      //美食详情
    kMerchantDetailType_Others = 13
}kMerchantDetailType;

@interface RCMerchantDetailItem : NSObject

@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, assign)NSInteger total;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, assign)NSInteger score;
@property (nonatomic, copy) NSString *dateTime;
@property (nonatomic, copy) NSString *avatar;
@property (nonatomic, retain)NSArray *picArray;

@property (nonatomic, assign) kMerchantDetailType type;
- (id) initWithDic:(NSDictionary *)dic;
@end


@interface RCMerchantDetailDataModel : IDataModel

@property (nonatomic, copy) NSString *merchantName;
@property (nonatomic, copy) NSString *merchantDesc;
@property (nonatomic, copy) NSString *merchantPrice;
@property (nonatomic, copy) NSString *merchantDistance;
@property (nonatomic, retain) NSMutableArray *merchantDetailItems;
@property (nonatomic, copy) NSString *merchantImageUrl;
@property (nonatomic, copy) NSString *merchantLat;
@property (nonatomic, copy) NSString *merchantLon;
@property (nonatomic, assign) NSInteger merchantScore;
@property (nonatomic, copy) NSString *merchantSanitation;
@property (nonatomic, copy) NSString *merchantService;
@property (nonatomic, copy) NSString *merchantTaste;
@property (nonatomic, copy) NSString *merchantEnvironment;
@property (nonatomic, assign)BOOL favourited;

@end
